package com.threeti.mecool.core.infrastructure.persistence.basicdata.biz;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.threeti.mecool.core.domain.model.basicdata.biz.ChannelSync;

public interface ChannelSyncRepository extends JpaRepository<ChannelSync, Long> {
	ChannelSync findByChannelCode(String channelCode);
	
	Page<ChannelSync> findByType(int type, Pageable pageable);
}
